]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Fix spacing on right icon in entry
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Sep 2013 19:59:21 +0000 (21:59 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 11 Sep 2013 16:41:55 +0000 (18:41 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=705779

src/st/st-entry.c

index ed5f303d2c71270b0941acd6c64b7157c12b6565..c00caa47ac78b138e2201b5587217d48e807d595 100644 (file)
@@ -469,7 +469,7 @@ st_entry_allocate (ClutterActor          *actor,
       clutter_actor_allocate (right_icon, &icon_box, flags);
 
       /* reduce the size for the entry */
-      child_box.x2 -= icon_w - priv->spacing;
+      child_box.x2 -= icon_w + priv->spacing;
     }
 
   clutter_actor_get_preferred_height (priv->entry, child_box.x2 - child_box.x1,